package com.cvicse.jrcompetition01.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cvicse.jrcompetition01.entity.Mechanism;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 作者:kissshotwang@163.com
 * @since 2022-07-21
 */
public interface MechanismMapper extends BaseMapper<Mechanism> {

    IPage<Mechanism> selectPageVo(Page<Mechanism> page, @Param("mechanismName") String mechanismName);

    public int addMechanism(Mechanism mechanism);
}
